<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>上传商品照片 - Votings</title>
<link href="media/css/style.css" rel="stylesheet" type="text/css" />
<script src="media/js/jquery-1.7.min.js" type="text/javascript"></script>
<script src="media/js/jquery.masonry.min.js" type="text/javascript"></script>
<script>
$(function(){
	var $container = $('#container');
	
	$container.imagesLoaded( function(){
	  $container.masonry({
	    itemSelector : '.pin',
	    isAnimated: 'true'
	    
	  });
	});
});
</script>
</head>

<body>
<div id="header">
<div class="header-inner clearfix">
	<div class="logo"></div>
	<div class="link_wrap">
		<a class="link-votings" href="#">随便看看</a>
		<a class="link-settings" href="#">帐户设置</a>
	</div>
	<div class="user-login clearfix">
		<div class="user-login-photo"><a href="#"><img src="img/header/1.png" alt="name" /></a></div>
		<div class="user-login-name"><a href="#">苍井空</a></div>
		<div class="user-logout"><a href="#">退出</a></div>
	</div>
</div>
</div>
<!--header-end-->
<div id="main">
	<div class="box">
		<ul class="flow clearfix f1">
			<li class="cur">1、选择商品图片</li>
			<li>2、选择自己的照片</li>
			<li>3、添加一段描述</li>
			<li>4、发布投票</li>
		</ul>
		<div class="box-header"><h1>选择衣服图片</h1></div>
		<div class="input-wrap clearfix">
			<label for="">商品购买地址</label>
			<input type="text" name="product-url" class="product-url" value="Paste a link to web-page containing images of cloths you want to buy" />
			<input type="button" name="get-pic" class="get-pic" value="" />
			<div class="pin-loading"><span>正在获取图片</span></div>
			<div class="flow-tips"><span class="msg-tips error-tips">网址格式错误</span></div>
		</div>
		<div class="input-wrap clearfix">
			<label for="">投票标题</label>
			<input type="text" name="product-url" class="product-url" value="This text will be shown as the voting title" />
			<div class="flow-tips"><span class="msg-tips error-tips">字数超过18字，请修改标题</span></div>
		</div>
		
		<div class="box-header"><h1>选择以下图片将出现在投票中</h1></div>
		<div id="container" class="photo-wrap">
			<div class="pin">
				<a href="#"><img src="img/11.jpg" /></a>
			</div>
			<div class="pin">
				<a href="#"><img src="img/12.jpg" /></a>
			</div>
			<div class="pin selected" >
				<a href="#"><img src="img/13.jpg" /></a>
			</div>
			<div class="pin">
				<a href="#"><img src="img/14.jpg" /></a>
			</div>
			<div class="pin">
				<a href="#"><img src="img/15.jpg" /></a>
			</div>
			<div class="pin">
				<a href="#"><img src="img/16.jpg" /></a>
			</div>
			<div class="pin">
				<a href="#"><img src="img/17.jpg" /></a>
			</div>
		</div>
		<div class="next-step"><input type="button" name="next-step" class="next" value="" /></div>
	</div>
	
</div>
<!--main end-->

<div class="footer"><!--预留位置--></div>
</body>
</html>
